package com.service.information.imp;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.mapper.information.ThumbsUpMapper;
import com.po.ThumbsUpInfo;
import com.service.information.ThumbsUpService;
@Service
public class ThumbsUpServiceImp implements ThumbsUpService{
    @Resource(name="thumbsUpMapper")
    private ThumbsUpMapper thumbsUpMapper;
	@Override
	public int getThumbsUpCount(ThumbsUpInfo thumbsupinfo) {
		int i=thumbsUpMapper.getThumbsUpCount(thumbsupinfo);
		return i;
	}

	@Override
	public int addThumbsUp(ThumbsUpInfo thumbsupinfo) {
		int i=thumbsUpMapper.addThumbsUp(thumbsupinfo);
		return i;
	}

	@Override
	public int deleteThumbsUp(ThumbsUpInfo thumbsupinfo) {
		int i=thumbsUpMapper.deleteThumbsUp(thumbsupinfo);
		return i;
	}

}
